<div class="tms-main-page-function">
    <div class="main-content">
        <div class="page-function">
            <ul class="wms-wbm-fun-left">
                <div class="custom_float_left btn_margin">
                    <button class="layui-btn" ng-click="receivingQualityTestingClick()">收货质检</button>
                </div>
                <div class="custom_float_left btn_margin btn_parent">
                    <button class="layui-btn">库位分配</button>
                    <div class="btn_spread">
                        <button class="layui-btn" style="margin: 0px;" ng-click="manuallyAssignClick()">手工分配</button>
                        <button class="layui-btn" style="margin: 0px;" ng-click="autoAssignClick()">自动分配</button>
                    </div>
                </div>
                <div class="custom_float_left btn_margin">
                    <button class="layui-btn" ng-click="confirmAllocationClick()">确认分配</button>
                </div>
                <div class="custom_float_left btn_margin">
                    <button class="layui-btn" ng-click="warehousingConfirmClick()">入库确认</button>
                </div>
                <div class="custom_float_left btn_margin  btn_margin btn_parent">
                    <button class="layui-btn">更多</button>
                    <div class="btn_spread">
                        <button class="layui-btn" ng-click="printQrCodeClick()">打印</button>
                    </div>
                </div>
            </ul>
            <div class="wms-wbm-fun-right">
                <input type="text" placeholder="单据号-->回车查询" ng-model="search.odWaybillNo" ng-keydown="searchListKeyDown($event)" class="search-input">
                <button class="layui-btn" ng-click="moreClick()" ng-bind="moreText">更多条件</button>
                <button class="layui-btn" ng-click="refreshClick()"><i class="layui-icon">ဂ</i></button>
            </div>
        </div>
        <div class="otherForm" ng-show="otherForm">
            <ul>
                <li>
                    <div class="otherFormItem">
                        <div>货主</div>
                        <div>
                            <ui-select ng-model="dropDownDefault.shipper">
                                <ui-select-match>
                                    <span ng-bind="$select.selected.customerId.name"></span>
                                </ui-select-match>
                                <ui-select-choices repeat="shipper in (dropDownList.shipper | filter: $select.search)">
                                    <span ng-bind="shipper.customerId.name"></span>
                                </ui-select-choices>
                                <ui-select-no-choice>
                                    没有加载到数据
                                </ui-select-no-choice>
                            </ui-select>
                        </div>
                    </div>
                    <div class="otherFormItem">
                        <div>调度单号</div>
                        <div>
                            <input type="text" class="layui-input" ng-model="search.odDispatchNo"/>
                        </div>
                    </div>
                    <div class="otherFormItem">
                        <div>单据类型</div>
                        <div>
                            <ui-select ng-model="dropDownDefault.billsType">
                                <ui-select-match>
                                    <span ng-bind="$select.selected.name"></span>
                                </ui-select-match>
                                <ui-select-choices repeat="billsType in (dropDownList.billsType | filter: $select.search) track by billsType.value">
                                    <span ng-bind="billsType.name"></span>
                                </ui-select-choices>
                                <ui-select-no-choice>
                                    没有加载到数据
                                </ui-select-no-choice>
                            </ui-select>
                        </div>
                    </div>
                    <div class="otherFormItem">
                        <div>状态</div>
                        <div>
                            <ui-select ng-model="dropDownDefault.status">
                                <ui-select-match>
                                    <span ng-bind="$select.selected.name"></span>
                                </ui-select-match>
                                <ui-select-choices repeat="status in (dropDownList.status | filter: $select.search) track by status.value">
                                    <span ng-bind="status.name"></span>
                                </ui-select-choices>
                                <ui-select-no-choice>
                                    没有加载到数据
                                </ui-select-no-choice>
                            </ui-select>
                        </div>
                    </div>
                </li>

                <li>
                    <div class="otherFormItem">
                        <div>车型</div>
                        <div>
                            <ui-select ng-model="dropDownDefault.vehicleSpec">
                                <ui-select-match>
                                    <span ng-bind="$select.selected.name"></span>
                                </ui-select-match>
                                <ui-select-choices repeat="vehicleSpec in (dropDownList.vehicleSpec | filter: $select.search)">
                                    <span ng-bind="vehicleSpec.name"></span>
                                </ui-select-choices>
                                <ui-select-no-choice>
                                    没有加载到数据
                                </ui-select-no-choice>
                            </ui-select>
                        </div>
                    </div>
                    <div class="otherFormItem">
                        <div>交货方</div>
                        <div>
                            <input type="text" class="layui-input" ng-model="search.odSupplierParty"/>
                        </div>
                    </div>
                    <div class="otherFormItem">
                        <div>收货员工</div>
                        <div>
                            <input type="text" class="layui-input" ng-model="search.odConsigneeName"/>
                        </div>
                    </div>
                    <div class="otherFormItem">
                        <div>检验结果</div>
                        <div>
                            <ui-select ng-model="dropDownDefault.inspectionResults">
                                <ui-select-match>
                                    <span ng-bind="$select.selected.name"></span>
                                </ui-select-match>
                                <ui-select-choices repeat="inspectionResults in (dropDownList.inspectionResults | filter: $select.search) track by inspectionResults.value">
                                    <span ng-bind="inspectionResults.name"></span>
                                </ui-select-choices>
                                <ui-select-no-choice>
                                    没有加载到数据
                                </ui-select-no-choice>
                            </ui-select>
                        </div>
                    </div>
                </li>

                <li>
                    <div class="otherFormItem">
                        <div>创建日期</div>
                        <div>
                            <input type="text" lay-verify="date" placeholder="yyyy-mm-dd" ng-model="search.createStartDate" ng-click="Tools.modelAssignment($event,this)" autocomplete="off" class="layui-input" onclick="layui.laydate({elem: this,format:'YYYY-MM-DD',choose : angular.element(this).scope().Tools.modelAssignment,scope:angular.element(this).scope()})">
                        </div>
                    </div>
                    <div class="otherFormItem">
                        <div>至</div>
                        <div>
                            <input type="text" lay-verify="date" placeholder="yyyy-mm-dd" ng-model="search.createEndDate" ng-click="Tools.modelAssignment($event,this)" autocomplete="off" class="layui-input" onclick="layui.laydate({elem: this,format:'YYYY-MM-DD',choose : angular.element(this).scope().Tools.modelAssignment,scope:angular.element(this).scope()})">
                        </div>
                    </div>
                    <div class="otherFormItem">
                        <div>收货日期</div>
                        <div>
                            <input type="text" lay-verify="date" placeholder="yyyy-mm-dd" ng-model="search.consigneeStartDate" ng-click="Tools.modelAssignment($event,this)" autocomplete="off" class="layui-input" onclick="layui.laydate({elem: this})" onclick="layui.laydate({elem: this,format:'YYYY-MM-DD',choose : angular.element(this).scope().Tools.modelAssignment,scope:angular.element(this).scope()})">
                        </div>
                    </div>
                    <div class="otherFormItem">
                        <div>至</div>
                        <div>
                            <input type="text" lay-verify="date" placeholder="yyyy-mm-dd" ng-model="search.consigneeEndDate" ng-click="Tools.modelAssignment($event,this)" autocomplete="off" class="layui-input" onclick="layui.laydate({elem: this})" onclick="layui.laydate({elem: this,format:'YYYY-MM-DD',choose : angular.element(this).scope().Tools.modelAssignment,scope:angular.element(this).scope()})">
                        </div>
                    </div>
                </li>

                <li>
                    <div class="otherFormItem otherFormItemButton">
                        <button class="layui-btn" ng-click="searchClick()">查询</button>
                        <button class="layui-btn" ng-click="resetClick()">重置</button>
                    </div>
                </li>
            </ul>
        </div>
        <div class="layui-form scrollTable">
            <table class="layui-table wms_wbm_main_table minScreen serial inputWorkTable" style="width : 3000px;">
                <tbody>
                    <tr>
                        <th>
                            <input type="checkbox" name="" lay-skin="primary" lay-filter="allChoose">
                            <div class="layui-unselect layui-form-checkbox" lay-skin="primary">
                                <i class="layui-icon"></i>
                            </div>
                        </th>
                        <th>货主</th>
                        <th>调度单号</th>
                        <th>单据号</th>
                        <th>单据类型</th>
                        <th>状态</th>
                        <th>检验结果</th>
                        <th>检验描述</th>
                        <th>入库仓库</th>
                        <th>起始地</th>
                        <th>目的地</th>
                        <th>车型</th>
                        <th>车型描述</th>
                        <th>底盘号(VIN号)</th>
                        <th>分供方</th>
                        <th>分供方司机</th>
                        <th>司机手机号</th>
                        <th>收货员工</th>
                        <th>收货日期</th>
                        <th>维修方</th>
                        <th>所在库区</th>
                        <th>所在库位</th>
                        <th>备注</th>
                    </tr>
                    <tr ng-repeat="inputWork in inputWorkList">
                        <td>
                            <input type="checkbox" name="ckValue" ng-value="$index" lay-skin="primary" />
                            <div class="layui-unselect layui-form-checkbox" lay-skin="primary">
                                <i class="layui-icon"></i>
                            </div>
                        </td>
                        <td ng-bind="inputWork.odCustomerName"></td>
                        <td ng-bind="inputWork.odDispatchNo"></td>
                        <td ng-bind="inputWork.odWaybillNo"></td>
                        <td ng-bind="inputWork.odWaybillType | billsTypeFilter"></td>
                        <td ng-bind="inputWork.odStatus | orderStatusFilter"></td>
                        <td ng-bind="inputWork.odCheckResult | inspectionResultsFilter"></td>
                        <td ng-bind="inputWork.odCheckDesc"></td>
                        <td ng-bind="inputWork.odWhCode"></td>
                        <td ng-bind="inputWork.odOrigin"></td>
                        <td ng-bind="inputWork.odDest"></td>
                        <td ng-bind="inputWork.oddVehicleSpecName"></td>
                        <td ng-bind="inputWork.oddVehicleSpecDesc"></td>
                        <td ng-bind="inputWork.oddVin"></td>
                        <td ng-bind="inputWork.odSupplierParty"></td>
                        <td ng-bind="inputWork.odSupplierName"></td>
                        <td ng-bind="inputWork.odSupplierPhone"></td>
                        <td ng-bind="inputWork.odConsigneeName"></td>
                        <td ng-bind="inputWork.odConsigneeDate"></td>
                        <td ng-bind="inputWork.odRepairParty"></td>
                        <td ng-bind="inputWork.oddWhZoneName"></td>
                        <td ng-bind="inputWork.oddWhLocName"></td>
                        <td ng-bind="inputWork.odRemark"></td>
                    </tr>
                </tbody>
            </table>
        </div>
        <div class="admin-table-page" style="text-align: center;">
            <div id="pages" class="page">
            </div>
        </div>
    </div>
</div>